package com.auxgroup.hr.front.dao.domain;

import java.io.Serializable;
import java.math.BigDecimal;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.IdClass;
import javax.persistence.NamedQuery;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;


/**
 * The persistent class for the PS_C_HIRE_FAMILY_T database table.
 * 
 */
@Entity
@Table(name="PS_C_HIRE_FAMILY_T")
@NamedQuery(name="PsCHireFamilyT.findAll", query="SELECT p FROM PsCHireFamilyT p")
@IdClass(PsCHirePrimaryClass.class)
public class PsCHireFamilyT extends BaseDomain implements Serializable {
	private static final long serialVersionUID = 1L;

	@Column(name="C_COMPANY")
	private String cCompany;
	@Column(name="C_FAMILY_SEX")
	private String cFamilySex;
	@Column(name="C_NAME")
	private String cName;
	@Column(name="C_PHONE")
	private String cPhone;
	@Column(name="C_POSITION")
	private String cPosition;
	//亲属关系
	@Column(name="C_RELATION_FAM")
	private String cRelationFam;
	//工作地点
	@Column(name="C_LOCATION_DESCR")
	private String cLocationDescr;
	//家庭地址
	@Column(name="C_ADDRESS_HOME")
	private String addressHome;
	//	是否为本公司员工
	@Column(name="C_OUR_COMPANY")
	private String ourCompany;
	//	本公司部门
	@Column(name="C_COMPANY_DESCR")
	private String companyDescr;
	//本公司岗位
	@Column(name="C_COMPANY_POST")
	private String companyPost;
	//身份证号
	@Column(name="NATIONAL_ID")
	private String nationalId;



	@Id
	@GeneratedValue(strategy=GenerationType.SEQUENCE,generator="PS_C_FAMILY_SEQNO")
	@SequenceGenerator(name="PS_C_FAMILY_SEQNO",sequenceName="PS_C_FAMILY_SEQNO",allocationSize = 1)
	@Column(name="C_SEQNO")
	private BigDecimal cSeqno;

	@Id
	@Column(name="RS_HIRE_ID")
	private String rsHireId;

	public PsCHireFamilyT() {
	}

	public String getcCompany() {
		return cCompany;
	}

	public void setcCompany(String cCompany) {
		this.cCompany = cCompany;
	}

	public String getcFamilySex() {
		return cFamilySex;
	}

	public void setcFamilySex(String cFamilySex) {
		this.cFamilySex = cFamilySex;
	}

	public String getcName() {
		return cName;
	}

	public void setcName(String cName) {
		this.cName = cName;
	}

	public String getcPhone() {
		return cPhone;
	}

	public void setcPhone(String cPhone) {
		this.cPhone = cPhone;
	}

	public String getcPosition() {
		return cPosition;
	}

	public void setcPosition(String cPosition) {
		this.cPosition = cPosition;
	}

	public String getcRelationFam() {
		return cRelationFam;
	}

	public void setcRelationFam(String cRelationFam) {
		this.cRelationFam = cRelationFam;
	}

	public BigDecimal getcSeqno() {
		return cSeqno;
	}

	public void setcSeqno(BigDecimal cSeqno) {
		this.cSeqno = cSeqno;
	}

	public String getRsHireId() {
		return rsHireId;
	}

	public void setRsHireId(String rsHireId) {
		this.rsHireId = rsHireId;
	}

	public String getcLocationDescr() {
		return cLocationDescr;
	}

	public void setcLocationDescr(String cLocationDescr) {
		this.cLocationDescr = cLocationDescr;
	}

	public String getAddressHome() {
		return addressHome;
	}

	public void setAddressHome(String addressHome) {
		this.addressHome = addressHome;
	}

	public String getOurCompany() {
		return ourCompany;
	}

	public void setOurCompany(String ourCompany) {
		this.ourCompany = ourCompany;
	}

	public String getCompanyDescr() {
		return companyDescr;
	}

	public void setCompanyDescr(String companyDescr) {
		this.companyDescr = companyDescr;
	}

	public String getCompanyPost() {
		return companyPost;
	}

	public void setCompanyPost(String companyPost) {
		this.companyPost = companyPost;
	}

	public String getNationalId() {
		return nationalId;
	}

	public void setNationalId(String nationalId) {
		this.nationalId = nationalId;
	}


}